package com.cws4cloud.cws.common.security.service;

import lombok.SneakyThrows;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * @ClassName: TenantUserDetailsService
 * @Description:
 * @Author zhlj
 * @Company:digitalchina
 * @Date 2021/1/21 13:02
 */
public interface TenantUserDetailsService extends UserDetailsService{
	UserDetails loadUserByUsername(String userName,String tenantId) throws UsernameNotFoundException;

}
